package com.baizhi.cmfzdemo.entity;

import java.util.Date;

/**
 * CREATE TABLE `cmfz_banner` (
 `banner_id` int(11) NOT NULL AUTO_INCREMENT,
 `banner_image_url` varchar(200) DEFAULT NULL,
 `banner_old_name` varchar(50) DEFAULT NULL COMMENT '原有名称',
 `banner_state` int(10) DEFAULT NULL,
 `banner_date` datetime DEFAULT NULL COMMENT '上传时间',
 `banner_description` varchar(200) DEFAULT NULL,
 )
 * Created by 54433 on 2019/4/4.
 */
public class CmfzBanner {
    private int bannerId;
    private String bannerImageUrl;
    private String bannerOldName;
    private int bannerState;
    private Date bannerDate;
    private String bannerDescription;

    @Override
    public String toString() {
        return "CmfzBanner{" +
                "bannerId=" + bannerId +
                ", bannerImageUrl='" + bannerImageUrl + '\'' +
                ", bannerOldName='" + bannerOldName + '\'' +
                ", bannerState=" + bannerState +
                ", bannerDate=" + bannerDate +
                ", bannerDescription='" + bannerDescription + '\'' +
                '}';
    }

    public int getBannerId() {

        return bannerId;
    }

    public void setBannerId(int bannerId) {
        this.bannerId = bannerId;
    }

    public String getBannerImageUrl() {
        return bannerImageUrl;
    }

    public void setBannerImageUrl(String bannerImageUrl) {
        this.bannerImageUrl = bannerImageUrl;
    }

    public String getBannerOldName() {
        return bannerOldName;
    }

    public void setBannerOldName(String bannerOldName) {
        this.bannerOldName = bannerOldName;
    }

    public int getBannerState() {
        return bannerState;
    }

    public void setBannerState(int bannerState) {
        this.bannerState = bannerState;
    }

    public Date getBannerDate() {
        return bannerDate;
    }

    public void setBannerDate(Date bannerDate) {
        this.bannerDate = bannerDate;
    }

    public String getBannerDescription() {
        return bannerDescription;
    }

    public void setBannerDescription(String bannerDescription) {
        this.bannerDescription = bannerDescription;
    }

    public CmfzBanner() {
    }

    public CmfzBanner(int bannerId, String bannerImageUrl, String bannerOldName, int bannerState, Date bannerDate, String bannerDescription) {

        this.bannerId = bannerId;
        this.bannerImageUrl = bannerImageUrl;
        this.bannerOldName = bannerOldName;
        this.bannerState = bannerState;
        this.bannerDate = bannerDate;
        this.bannerDescription = bannerDescription;
    }
}
